package com.zhijiaoyun.model;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class Admin extends ModifyModel {
	private static final long serialVersionUID = 7462987905498544435L;

	private Long adminId;

    private String account;

    private String username;
    
    private String password;

    private Integer status;

    private Long authorityId;

	/**
	 * 权限中文
 	 */
    private String authorityName;

    public Admin() {
		super();
	}

	public Admin(String account, String username, String password, Integer status, Long authorityId, String createUser) {
		super();
		this.account = account;
		this.username = username;
		this.password = password;
		this.status = status == null ? 0 : status;
		this.authorityId = authorityId;
		this.createUser = createUser;
	}

	public String getAuthorityName() {
		return authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}

	public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

    public Long getAuthorityId() {
		return authorityId;
	}

	public void setAuthorityId(Long authorityId) {
		this.authorityId = authorityId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}